package com.zb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2023/8/14 0014
 **/
@Data
@ApiModel("人员下拉对象")
public class SelectEmpVo extends SelectResultVo{
    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "人员名称")
    private String userName;

    @ApiModelProperty(value = "数量")
    private Integer qty;

    @ApiModelProperty(value = "头像")
    private String avatar;

    public SelectEmpVo(){
        super();
    }

    public SelectEmpVo(Long id, String name, String phone) {
        super(id, name);
        this.phone = phone;
    }

    public SelectEmpVo(Long id, String name, String phone, String userName) {
        super(id, name);
        this.phone = phone;
        this.userName = userName;
    }

    public SelectEmpVo(Long id, String name, String phone, String userName, Integer qty) {
        super(id, name);
        this.phone = phone;
        this.userName = userName;
        this.qty = qty;
    }

    public SelectEmpVo(Long id, String name, String phone, String userName, Integer qty, String avatar) {
        super(id, name);
        this.phone = phone;
        this.userName = userName;
        this.qty = qty;
        this.avatar = avatar;
    }
}
